if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ScheduleDriverTaxi]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
DROP TABLE [dbo].[ScheduleDriverTaxi]
GO

CREATE TABLE [dbo].[ScheduleDriverTaxi] (
	[ScheduleDriverTaxiId] [int] IDENTITY(1,1) NOT NULL,
	[ScheduleId] [int] NOT NULL,
	[TaxiId] [INT] NOT NULL,
	[DriverId] [int] NULL
) ON [PRIMARY]
GO

